
const storage = {
    set: (key: string, value: any) => {
        uni.setStorageSync(key, value)
    },
    get: (key: string) => {
        return uni.getStorageSync(key) || ""
    },
    remove: (key: string) => {
        if (uni.getStorageSync(key)) {
            uni.removeStorageSync(key)
        }
    }
}

export default storage
